]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
tests: Fail on warnings too
authorJonas Ådahl <jadahl@gmail.com>
Thu, 24 Nov 2022 15:29:39 +0000 (16:29 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 25 Nov 2022 21:10:27 +0000 (22:10 +0100)
Getting warnings are always bad and means something is broken, we
shouldn't pass the test suite with them.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1349>

tests/meson.build

index 739b74cd06d06bcd7af03b18908d78ca5d36bc4b..c2640c17ea335c9b01e1bd0a7d6322e3e55aaea5 100644 (file)
@@ -49,7 +49,7 @@ libgvc_path = fs.parent(libgvc.get_variable('libgvc').full_path())
 background_file = files(join_paths('data', 'background.png'))
 
 perf_testenv = testenv
-perf_testenv.set('G_DEBUG', 'fatal-criticals')
+perf_testenv.set('G_DEBUG', 'fatal-warnings')
 perf_testenv.set('G_MESSAGES_DEBUG', 'GNOME Shell')
 perf_testenv.set('GNOME_SHELL_DATADIR', data_builddir)
 perf_testenv.set('GNOME_SHELL_BUILDDIR', src_builddir)